<?php

global $_pfw_routes, $_pfw_modules;

$_pfw_modules = array();

$_pfw_routes = array(
'default_module_action' => array(
  '/:module/:controller/:action/*',
  array('action' => 'index', 'controller' => 'home')
),
'default_action' => array(
  '/:controller/:action/*',
  array('action' => 'index', 'controller' => 'home')
)
);

# take the url and place it below the first elem in array, every place in the path
# must match. if there is a place thats missing, and there is a default specified,
# then it must match when defaults are applied

# second pass, remove every place where there is a default value, and test for match
# a default value of null means it doesn't have to be there at all

# routes should be listed most->least specific

?>